package com.sheliduan.itlearning.admin.model.vos.user;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author: 断舍离
 * @date: 2025/2/17 10:10
 * @description: 修改用户入参VO
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UpdateUserReqVO {

    @NotNull(message = "未接收到用户id")
    private Integer id;

    @NotBlank(message = "用户名称不能为空")
    private String username;

    private String avatar;

    private String password;
}
